package com.htu.edu.mapper;

import com.htu.edu.bean.User;
import org.apache.ibatis.annotations.Param;

// 接口中主要规定数据操作层有那些方法。
public interface UserMapper {

    public User getUserById(String userId) throws Exception;

    public User getUserByIdByPass(@Param("userId") String userId, @Param("password") String password) throws Exception;

    public int saveUser(User user) throws Exception;
}
